package oop.ex3.messages;

import java.io.IOException;

import oop.ex3.messages.exception.UnexpectedMessageEndException;
import oop.ex3.sockets.ClientSocket;

public interface MessageInterface {
	
	public String getHeader();
	
	public void sendMessage(ClientSocket socket) throws IOException;
	
	public MessageInterface readMessage(ClientSocket socket) 
	throws UnexpectedMessageEndException, IOException;
}
